<?php
/**
 * @version      BOSSCMS-Free
 * @trademark    BOSSCMS
 * @copyright    Copyright © by BOSSCMS-Free (https://www.bosscms.net/) 保留所有权利
 * @license      https://gitee.com/Greenpeas/BOSSCMS/license/ 和 https://www.bosscms.net/freelicense/
 * @link         https://www.bosscms.net/
 * @author       温州软界网络技术有限公司
**/
defined('IS_OK') or exit('Access Forbidden');
?>
<?php load::into('head'); ?>
<?php echo $G['navsub']; ?>
<form action="<?php echo url::mpf('items','content','add'); ?>" method="post" enctype="multipart/form-data">
<?php global $aE; $aE=isset($data)?$data:null; $type=aE('type'); ?>
<section class="main form">
  <aside>
	<div>
	  <h2>
		<strong>内容设置</strong>
	  </h2>
	  <dl>
		<dt>
		  <strong>编辑内容</strong>
		</dt>
		<dd>
		  <?php echo form::textarea('content',aE('content'),null,array('ueditor')); ?>
          <cite>请根据模板实际调用进行配置</cite>
		</dd>
	  </dl>
	  <dl>
		<dt>
		  <strong>跳转下级</strong>
		</dt>
		<dd>
		  <?php echo form::radio('issub',aE('issub'),0,$G['option']['is']); ?>
          <cite>开启后当前栏目将直接跳转并展示下级(按第一个排序显示)</cite>
		</dd>
	  </dl>   
    </div>
  </aside>
</section>

<section class="refer" <?php echo $G['body_class']=='iframe-content'?(is_numeric($_COOKIE['iframeContentX'])?'style="margin-left:'.$_COOKIE['iframeContentX'].'px;"':'contentx'):''; ?>>
  <button class="button ok" type="submit">
    <em class="fa fa-floppy-o"></em>
    <font>保存</font>
  </button>
</section>  
</form>
<?php load::into('foot'); ?>